package com.code.exam.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "考试创建返回数据格式")
public class ExamVO implements Serializable {



    @ApiModelProperty("考试创建id")
    private Long examId;



    @ApiModelProperty("考试标题")
    private String title;




    @ApiModelProperty("考试开始时间")
    private LocalDateTime startTime;



    @ApiModelProperty("考试截止时间（不得少于开始时间）")
    private LocalDateTime endTime;



    @ApiModelProperty("考试状态：UPCOMING/IN_PROGRESS/ENDED")
    private String status;
}
